/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.martinkrasa.golftourweb.site;

import com.martinkrasa.golftourweb.site.entity.TournamentResult;
import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 *
 * @author martin.krasa
 */
public interface LoadingService {
    
    public class LoadingException extends Exception {

        LoadingException(String message) {
            super(message);
        }
    }

    /**
     *
     * @param bruttoUrlStrings
     * @param nettoUrlStrings
     * @return
     * @throws IOException
     * @throws LoadingException
     */
    public List<TournamentResult> loadTournament(String[] bruttoUrlStrings, String[] nettoUrlStrings) throws IOException, LoadingException;

}
